<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module Niveau</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>Niveau</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/geoff/workspace/svn/trunk/DreamPark/modele/Niveau.py">/home/geoff/workspace/svn/trunk/DreamPark/modele/Niveau.py</a></font></td></tr></table>
    <p><tt>Created&nbsp;on&nbsp;10&nbsp;déc.&nbsp;2014<br>
&nbsp;<br>
@author:&nbsp;Damien&nbsp;Torond&nbsp;et&nbsp;Geoffrey&nbsp;Sentost<br>
Module&nbsp;<a href="#Niveau">Niveau</a></tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="modele.Place.html">modele.Place</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="Niveau.html#Niveau">Niveau</a>
</font></dt></dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Niveau">class <strong>Niveau</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>La&nbsp;classe&nbsp;<a href="#Niveau">Niveau</a>&nbsp;permet&nbsp;de&nbsp;modeliser&nbsp;les&nbsp;differents&nbsp;niveaux&nbsp;d'un&nbsp;parking.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Niveau-__init__"><strong>__init__</strong></a>(self, parking, pNum, nbPlaces, listePlacesBdd=None)</dt><dd><tt>Constructeur&nbsp;de&nbsp;la&nbsp;classe&nbsp;<a href="#Niveau">Niveau</a>.<br>
Attributs:<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;parking&nbsp;de&nbsp;la&nbsp;classe&nbsp;Parking.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;bdd&nbsp;instance&nbsp;de&nbsp;la&nbsp;classe&nbsp;CtrlBdd.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;numero&nbsp;de&nbsp;type&nbsp;int,&nbsp;numero&nbsp;de&nbsp;la&nbsp;place.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;nbPlacesCapacite&nbsp;de&nbsp;type&nbsp;int&nbsp;nombre&nbsp;de&nbsp;places&nbsp;par&nbsp;parking.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;nbPlacesLibresNiveau&nbsp;de&nbsp;type&nbsp;int,&nbsp;nombre&nbsp;de&nbsp;places&nbsp;par&nbsp;niveaux.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;listePlaces&nbsp;de&nbsp;type&nbsp;list&nbsp;permet&nbsp;d'ajouter&nbsp;des&nbsp;places.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;listePlacesBdd&nbsp;de&nbsp;type&nbsp;list&nbsp;qui&nbsp;rempli&nbsp;le&nbsp;nombre&nbsp;de&nbsp;places.</tt></dd></dl>

<dl><dt><a name="Niveau-decrementer"><strong>decrementer</strong></a>(self)</dt><dd><tt>Methode:permet&nbsp;de&nbsp;decrementer&nbsp;le&nbsp;nombre&nbsp;de&nbsp;places&nbsp;par&nbsp;niveau.<br>
On&nbsp;decremente&nbsp;le&nbsp;nb&nbsp;places&nbsp;libres,&nbsp;donc&nbsp;occupe&nbsp;une&nbsp;place&nbsp;dans&nbsp;le&nbsp;niveau.</tt></dd></dl>

<dl><dt><a name="Niveau-estPlein"><strong>estPlein</strong></a>(self)</dt><dd><tt>Methode:verifie&nbsp;si&nbsp;le&nbsp;nombre&nbsp;de&nbsp;places&nbsp;par&nbsp;niveaux&nbsp;est&nbsp;inferieur&nbsp;a&nbsp;0,&nbsp;et&nbsp;si<br>
le&nbsp;parking&nbsp;est&nbsp;donc&nbsp;plein.</tt></dd></dl>

<dl><dt><a name="Niveau-getListePlaces"><strong>getListePlaces</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;l'attribut&nbsp;listePlaces&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<dl><dt><a name="Niveau-getNbPlaces"><strong>getNbPlaces</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;l'attribut&nbsp;nbPlacesCapacite&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<dl><dt><a name="Niveau-getNbPlacesLibresNiveau"><strong>getNbPlacesLibresNiveau</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;l'attribut&nbsp;nbPlacesLibresNiveau&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<dl><dt><a name="Niveau-getNumNiveau"><strong>getNumNiveau</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;l'attribut&nbsp;numero&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<dl><dt><a name="Niveau-incrementer"><strong>incrementer</strong></a>(self)</dt><dd><tt>Methode:&nbsp;permet&nbsp;d'incrementer&nbsp;le&nbsp;nombre&nbsp;de&nbsp;places&nbsp;par&nbsp;niveau.<br>
On&nbsp;incremente&nbsp;le&nbsp;nb&nbsp;places&nbsp;libres,&nbsp;donc&nbsp;libere&nbsp;une&nbsp;place&nbsp;dans&nbsp;le&nbsp;niveau.</tt></dd></dl>

<dl><dt><a name="Niveau-remplirListePlaces"><strong>remplirListePlaces</strong></a>(self, listeBdd=None)</dt><dd><tt>Methode:&nbsp;Attend&nbsp;une&nbsp;liste&nbsp;en&nbsp;parametre.<br>
Permet&nbsp;de&nbsp;remplir&nbsp;la&nbsp;liste&nbsp;des&nbsp;places&nbsp;afin&nbsp;de&nbsp;remplir&nbsp;les&nbsp;niveaux&nbsp;et&nbsp;<br>
le&nbsp;parking.</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table></td></tr></table>
</body></html>